Skip to content

JCL-402: RDF4J body handlers http error handling#1162

Merged
NSeydoux merged 11 commits into
mainfrom
JCL-402/rdf4j-body-handlers
Apr 26, 2024
Merged

JCL-402: RDF4J body handlers http error handling#1162
NSeydoux merged 11 commits into
mainfrom
JCL-402/rdf4j-body-handlers

Conversation

@NSeydoux
Copy link
Copy Markdown
Contributor

@NSeydoux NSeydoux commented Apr 14, 2024

This is based on #1159 , which should be reviewed first. (The only dependency between the two is in the mocks)

This deprecates the current methods in RDF4JBodyHandlers, and replaces them with similar method throwing an appropriate exception with error details on HTTP error instead of returning an empty dataset. This makes use of the composable throwing body handler now exposed by the Response interface of the api module. The new method now have RDF4J in their name for this not to be a breaking change: ofModel becomes ofRDF4JModel, etc.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants